Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing/initial setup #83

Merged
merged 20 commits into from
Jul 13, 2023

Conversation

smokestacklightnin
Copy link
Contributor

@smokestacklightnin smokestacklightnin commented Jul 7, 2023

📝 Description

Type: 🚦 testing

This pull request adds tests.yml, which includes testing for STARDIS using pytest. There are so many commits because I made one commit for each action or step.

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Passes all tests on my fork

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@887d562). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 943498c differs from pull request most recent head 33eab9a. Consider uploading reports for the commit 33eab9a to get more accurate results

@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage        ?   32.82%           
=======================================
  Files           ?       15           
  Lines           ?      588           
  Branches        ?        0           
=======================================
  Hits            ?      193           
  Misses          ?      395           
  Partials        ?        0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

jvshields
jvshields previously approved these changes Jul 10, 2023
Copy link
Contributor

@jvshields jvshields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this for workflow testing, but probably very soon we want to get rid of the primes test since it doesn't apply to any of our actual code.

@smokestacklightnin
Copy link
Contributor Author

I'm approving this for workflow testing, but probably very soon we want to get rid of the primes test since it doesn't apply to any of our actual code.

I included it because it was there before. I will remove it.

@sonachitchyan sonachitchyan merged commit 3016108 into tardis-sn:main Jul 13, 2023
smokestacklightnin added a commit to smokestacklightnin/stardis that referenced this pull request Sep 20, 2023
* Create empty `tests.yml` workflow

* Add workflow name and event triggers

* Add environmnent variables

* Add bash defaults

* Add build job with matrix of strategies but no steps yet

* Add checkout step

* Add setup mambaforge step

* Add workflow_dispatch trigger

* Add workflow_dispatch and simplify triggers

* Add caching for lockfiles

* Fix tardis to stardis typo

* Download lockfile and update environment

* Install tardis and stardis

* Run tests

* Fix another tardis to stardis typo

* Fix example test using prime numbers

* Upload to codecov

* Add attribution to Sieve of Eratosthenes in the test_primes example test

* Add .codecov.yml

* Delete prime number example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants