Skip to content

aytugsevgi/Exercism-Solutions

Repository files navigation

Exercism-Solutions with Swift Test Automation

This script automating your swift unit tests. Script handle the terminal outputs, it shows;

  • Compiling errors
  • Failed tests
  • Which packages encountered errors
  • Average test success results

Applying a script on any new push:

name: CI
 on:
   push:
     branches: [ main ]
     
 jobs:
   build:
     runs-on: ubuntu-latest
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
       - uses: actions/checkout@v2
       # You can run script like this
       - name: Run Script
         run: python3 .script/main.py

If your package files are in a specific path. (No need if it's directly in your repository)

You can specify which file it is under as parameters. Example path for "swift/".

name: CI
 on:
   push:
     branches: [ main ]
     
 jobs:
   build:
     runs-on: ubuntu-latest
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
       - uses: actions/checkout@v2
       # You can run script like this
       - name: Run Script
         run: python3 .script/main.py swift/

Output results will be like these.

Screen Shot 2021-04-26 at 12 59 26

If your tests has any fail or compiling error.

Screen Shot 2021-04-26 at 12 54 48

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published